fixed issues with item type: error with unit when there are no uses, and an issue with the links for the share score algorithm