modify and test when close internet