fix: register error