fix the bug that share-content is null

fix the bug that share-content is null