modified addShareRecord's bug
modified shareTest