fixed querying bug