fix bug in SocialNet.js