bugfixes to social helper