fixed a bug to report state sharing precisely.