fixing bug on menu