Fix bug found by david
When we use completion for a name in middle of line sometime it show/hide menu