fix for OnDemand offline