check on white space in key