fixed crash if no servers added and try to to connect and trying to fix link errors