fix menu active error