Fix case of online/offline.