Remove blank space from the input