Cleaning up trailing spaces