couple minor updates to fix offline mode