fixed contracted graph labels