fixed trailing spaces