newline to space inside query