removinng tabs and trailing spaces