Fixing snippet expire bug