fix bug of menu