fixed results query