fix trailing and before tab whitespace