strip trailing whitespace & tramp