fixed online/offline for pipeline