add mapping to remove all trailing whitespace