Ref id type delegate fix

Ok.  Give this a try.  It compiled and ran fine on my end...