change moduleReference to ModuleReference