trailing space removal