fixed labeling errors