Fixed labeling bug