add autoremove trailing spaces