Fix regist submit bug