removing trailing space