trailing spaces not working