make_reference_if example fixed