fix the bug on the menu