patching things up for Mono
more reference fixing to tell the Mono compiler to shut the hell up