fix menu activeness