fixed regist_master
fixed regist_master