fixed sharing of cached instances