fix query set bug