fix the menu display when load