fixed bug in menu