fix mk-prim-fun-m to mk-prim-fun in runtime, from merge problem