Fixed "labelGroup" undefined error.