Adressed a bug by changing regexp in read_labels