- fixed handle errors while fails in registration