fix issues in social connector