trying to fix trailing spaces