get err on Register