remove unneeded whitespace/comments