Sharing bug fix.