fixed querier changed state bug