Creating an Agent

I sent an invitation to an agent who accepted the invitation. Under user management, the status showed as Active for that agent. I deleted the agent and again sent an invitation. Now, tawk acts confused. It shows that agent status is pending. At the same time of try to resend invitation, it says agent already exists.