remove trailing tabs