bug fix menu selected