Fixed a no connection crash