added mapping for remove whitespace at end of lines