menu bar doesn't working properly