fix duplicate labels