bug fix in mk_model and neko_main