fix no network bug