trim whitespace, uneeded comments