added nail height validation