add social button and fix some bugs