query disposing system