refine init menu data in menu.c