Fix ... the 'mf' function clobbered the "global" $RC