fix menu when child > 0