manage registration errors