Fix spec for offline