try to fix trailing spaces