remove unneeded whitespace