fix check internect connection in main screen.