Fixed improper labeling when no spaces are before the label