eliminating line ending blank space