remove space before new line