bug fix at menu