Fixed sharing bug