remove uneeded whitespace