fix errors format in registration api