remove space at line end