Fixing share errors