fixed bug of menu