I managed to fix it. But i knew where my teamspeak file was. If you are able to locate your teamspeak folder then just delete the teamspeak folder and then reinstall teamspeak. It will install in another location and thats how i fixed it. I found my folder because it was located in the same library as my minecraft folder. I don't know how to actually locate it as it is automatically hidden.