managing error while register without server.