Fixed problem with joining the server