remove empty trailing space