hook delete-trailing-whitespace and remove whitespace