Removed trailing whitespace
Modify users input before the running the validation.