Initialization of labels

Since the initialization of the labels was incorrect, these codes are
changed.