fixed labeling problem