Remove spaces and lower case when checking