fix query reindex core