add: hook to delete trailing whitespace