[prefix-sharing] Fixed a bug in the insert.
[prefix-sharing] Fixed 2 cases.