fix regist