strengthened empty validation, also checks for only white space