remove white space on save