fix the issue about the check net connection