Fix labels sync bug