remove trailing space for all