added menu_rebuild()