clean up tabs and trailing whitespaces