fix menu generator