fixed no connection problem