fixOuterRefs - fix this$1 for classes that have more than one instance