delete errant whitespace prior to saving