problem with connectionInvalid query: Whole query: