fixed bug when no connection on first load
typos