fixing menu completion