minor change for the evict query function