fix some bugs
menu update