fixed initial errors in mc_util