remove whitespace on save