fix double declerations of labels