remove unneccessary whitespace