fix  share point bug when local host