Fixing create_share_structure