fix offline status