Fixed parsing of labels.