improve trailing whitespace thing
Merge remote-tracking branch 'upstream/master'