fix tabs and trailing whitespaces

for gh-22