Avoid errors when running in offline mode