Fix error in Registrar