fix for offline dev mode