bug fixing in eviction