[DF-581] convert tabs to spaces, trim right spaces.