repairing NSRef derivation 2