removed newlines from query texts