added remove whitespace on save