remove gsubfn - causes doMC to hang on first parallel operation