making height validation work