fixed online/offline label id bug