fix menu to remove cpp functions