convert tabs to spaces
remove trailing whitespaces
convert tabs to whitespaces