removing trailing tabs