fix not shared case bug