debugging value caching misbehavior