fixed whitespace textfield entry bug