mostly whitespace removal