Removed newlines from queries