cleans the input for Capitalization and white space