fixed warning message in offline mode