Added error handler to during regid prompt