fixed "regist" to "register"