correct online offline status