setting offline mode to false