fixed a shareName bug