debugging strange caching error