trailing whitespaces and tabs to spaces