remove blank space at lineend