fixed share_data being broken