fix bug for Social template