fixed a bug with caching lists