tidy up trailing spaces and tabs