fix labelling to replace previsous label with same name