fix issue w/ offline mode