fix query range bug; reduce tx num