fix the menu sequence