fixed the bug in social buttons