fixed online/offline status change