semantic: Check amount of labels and clean up *p.