Introduction

The pistachio (Pistacia vera L.) is a member of the cashew family, Anacardiaceae [165]. While classified as nuts in commercial horticulture and for culinary purposes, pistachios are botanically classified as drupes. A drupe is an indehiscent fruit in which a fertilized embryo (kernel or seed) within a hardened endocarp (shell) is surrounded by a fleshy mesocarp (hull) and an exocarp (external skin). Pistachio nut is Iran’s largest export after crude oil and its derivatives. Iran, with the production of 551,307 metric tons of pistachios in 2018, has been the largest producer of pistachios in the world [42]. Pistachios are often consumed as dried or roasted. Recent studies indicated that sun drying resulted in a 60% and 38% loss of anthocyanins and vitamin E, respectively. In addition, phenolics, flavonoids, and stilbenes were significantly decreased during the sun drying [10]. Because of their high essential bioactive constituents and micro-nutrients, there is also a growing market for fresh pistachios. Fresh pistachios have a short shelf life because metabolic activities, respiration, and ethylene production continue after harvest and produce senescence and changes in pigments, aroma, texture, fatty acids, amino acids, carbohydrates, bioactive compounds, secondary metabolites, and other quality components [105]. Due to all these reasons, the postharvest preservation of fresh pistachio fruit is challenging and an effective approach should be applied to prolong its storage life. One of the useful techniques to extend the shelf life of fresh fruits is to pack them under modified atmosphere condition. Modified Atmosphere Packaging (MAP) changes the gas composition inside the package through respiration (passive-MAP) or by the addition and removal of gases from food packages (active-MAP) to manipulate the quantities of O2 and CO2. The reduced O2 and/or increased CO2 levels can minimize metabolic activity, respiration rate, ethylene production, and microbial growth of fruits and vegetables. MAP can also delay maturation, and slow compositional and textural changes associated with ripening and senescence, resulting in postharvest life extension [31]. Several studies have been performed to evaluate the effectiveness of MAP conditions in maintaining the quality and extending the storage life of fresh pistachios [77, 108, 121, 136,137,138], almond [7, 15], walnut [1, 44, 83, 160], pine nut [80], and hazelnut [90, 102].

Another recent technique to increase the shelf life of fresh fruits and vegetables is the use of edible coatings [16, 87]. Chitosan is one of the most efficient materials used as a coating on fruits and vegetables. Chitosan (poly b-(1,4)n-acetyl-d-glucosamine) polymer is industrially generated by chemical deacetylation of the chitin found in arthropod exoskeletons [169]. This biopolymer can also be derived directly from the cell wall of certain plant-pathogenic fungi. Chitosan coating has been successfully used in agricultural and food applications, mainly due to its antimicrobial and structural properties which allow it to be used as an edible coating. A chitosan coating has the potential to create a semi-permeable barrier that controls gas exchange and prevents water loss, thus preserving tissue firmness and reducing microbial decay of harvested fruits and vegetables over long periods of time [35, 36, 151]. Chitosan coating has been reported to minimize decay and control postharvest changes in fresh areca nut [139, 173], walnut [126], pistachio nut [12, 100], and chestnut [45].

Therefore, considering the importance of fresh pistachio exports in terms of economy and currency, implementing projects to improve the shelf life of fresh pistachio fruits is very important. Despite the economic and nutritional importance of pistachios, little is known about the quality changes of fresh pistachios during postharvest storage. The literature review also revealed that there is no published work on the study of chitosan coating in combination with modified atmosphere packaging on the shelf life of fresh in-hull pistachios. Therefore, the objective of this research is to assess the changes in quality-related properties of fresh in-hull Badami’s pistachio fruits coated with different chitosan concentrations (0, 1, and 1.5% w/v) under passive-MAP (P-MAP), active-MAP (A-MAP), and ambient atmospheric condition (AAC) during cold storage to obtain the fruits with the highest quality characteristics for export purposes.

Materials and methods

Preparation of samples

Pistachio fruit (Pistacia vera L.) cv. Badami was harvested from a commercial pistachio orchard in Faizabad, Khorasan Razavi, Iran in September 2019, when 70–80% of the fruit had changed color and the hull was easier to remove. Fruits were transported to the packaging laboratory of Department of Food Science and Technology, Ferdowsi university of Mashhad, within 3 h under 5 °C. Fresh pistachios were selected for uniformity in shape, size, and color. Fruits with any symptoms of mechanical injuries, fungal infestation, sunburn, cracks, and also blank nuts were discarded.

Preparation of chitosan-based edible coating

Acetic acid, high molecular weight chitosan, and Tween-80 were supplied from Sigma Chemical Co (St. Louis, MO, USA). The method for preparing the coating solutions was described by Ali et al. [4]. Chitosan solutions of 1 and 1.5% (w/v) were prepared by dissolving 1.0 or 1.5 g of chitosan in 100 ml distilled water containing 0.5 ml (v/v) of glacial acetic acid. The solutions were continually heated and stirred for 24 h. The pH of the solutions was adjusted to 5.6 by 1 N NaOH, and 0.1 ml of Tween-80 was also added as an emulsifier to boost wet-ability. As a control, an acidic solution (pH 5.6) containing Tween-80, without chitosan, was used.

Treatment of pistachio fruits

Fruits were divided into two groups: coated (1 and 1.5% w/v chitosan) and uncoated. The fruits were then dipped into different concentrations of chitosan (0, 1, and 1.5% w/v) for 1 min. The excess solution was drained off and then the fruit was air-dried. Both coated and uncoated fresh pistachios were divided into three groups (ambient atmospheric condition (AAC), passive-MAP (P-MAP), and active-MAP (A-MAP)). P-MAP: ambient air composition (21% O2, < 0.1% CO2, and 78% N2) and A-MAP: (10% O2 and 90% N2). The P-MAP and A-MAP samples, each weighing 0.2 kg, were packed into linear low-density polyethylene (LLDPE) bags (thickness: 120 μm; area: 0.098 m2; PO2: 3314 ml μm m−2 h−1 atm−1; PCO2: 9024 ml μm m−2 h−1 atm−1) and heat-sealed. A-MAP Henkelman machine (Gustav Muller and Co., Bad Homburg, Germany) was used to perform MAP packaging and the initial internal gas compositions were set for the groups to create passive and active MAPs. The AAC samples were kept in the refrigerator without packaging. All samples were stored at 5 °C, RH (85–90%), and at 15-day interval over a period of 45 days, the experiments were carried out. At each sampling time, three samples of each treatment were removed from storage and used for measuring purposes.

Weight loss

Weight loss was determined by weighing whole pistachio fruits before and after storage time using a laboratory level weighing balance with 0.0001 g accuracy (RADWAG, AS 220.R2, Poland). Values were expressed as the percentage of loss of weight proportional to the initial weight.

Evaluation of gas composition inside package

The headspace gas composition (%O2 and %CO2) of MAP treatments were determined at selected time intervals (from the beginning to the 5th day, 3 times a day; from the 5th day to the 10th day, once a day; and from the 10th day onwards, once every 5 days) during the storage time prior to the opening of packages, through a silicone septum using a needle connected to a calibrated O2/CO2 gas analyzer (WITT, GmbH & Co KG D-38,454, Germany) in order to determine the effects of both chitosan coating and MAP on the fruit respiration, shortly after removal from cold storage. After approximately 30 s, screen displays of the O2 and CO2 percentages were provided. Each package was used only for a single determination of the headspace gas composition to prevent changes in the headspace gas composition due to gas sampling. The amounts of each gas were expressed as a v/v percentage.

Firmness

Pistachio kernel firmness was measured using a texture analyzer (TA.XT Plus, Stable Micro Systems Ltd., Godalming, UK) connected to the Stable Micro Systems software (version 6,1,14,0, Godalming, Surrey, UK). The penetration speed was 5.00 mm/min and the applied probe was 2 mm in diameter. The maximum force (Fmax) needed to penetrate into the central part of pistachio nut over 5.00 mm was used as a firmness measurement. The average firmness of 9 nuts per treatment was expressed as Newton (N) [136].

Properties of pistachio oils

According to Chatrabnous et al. [24], 3 g of ground kernels was extracted using pure hexane (100 ml) at 4 °C in dark for 48 h. The samples were then centrifuged at 4000 × g for 20 min. The supernatant was filtered through a filter paper and the solvent was removed by applying a rotary evaporation device. The peroxide value was determined using the iodometric titration method [18] and measured in terms of meq of oxygen per kg of extracted oil. The acid value was evaluated by titration method based on the percentage of oleic acid [8].

Microbial analysis

Mold and yeast count, reported as logarithm colony forming units (CFU) per gram, were determined according to the method of Sabaghi et al. [126]. Ten grams of pistachio fruits was crushed and homogenized in 90 mL of sterile NaCl solution (8.5 g/L) for 2 min with a stomacher (Stomacher 400, Seward Laboratory Blender, BA7021, London, UK). Mold and yeast counts were obtained by pour-plate inoculation of 1 ml of suspension on yeast extract glucose chloramphenicol (YGC) agar (Merck, Darmstadt, Germany) and incubating plates at 25 °C for 5 days.

Aflatoxin production measurement

A ground-up pistachio nut sample of approximately 50 g was homogenized with 5 g of sodium chloride, 100 ml n-hexane, and 200 ml of methanol–water (8:2) mixture for 3 min and extracted according to ISIRI method 6872 [66]. An aliquot of each suspension was passed through the immunoaffinity column (Rhone Diagnostics Technologies, Glasgow, UK). A Kobra cell (Rhone Diagnostics Technologies) was used to derivatize the samples. Aflatoxins were quantified using an HPLC system (HPLC 1525, Milford, MA, USA) equipped with an L-2485 fluorescence detector (Hitachi, VWR) and InertSustainSwift C18 (150 mm × 4.6 mm id) with the particle size of 5.0 μm (GL Sciences, Tokyo, Japan). The column temperature was adjusted to 30 °C and an auto-sampler was used to make sample injections (20 μl) at room temperature. The mobile phase consisted of a mixture of water, methanol and acetonitrile (6:3:1, v/v) with 305 mg KBr and 250 μl of nitric acid (2500 ml mobile phase). The excitation and emission wavelengths were 365 nm and 440 nm, respectively. The flow rate was 1 ml/min.

Color evaluation

The pistachio hull color parameters (20 fruits per replicate per treatment) were analyzed using a computer vision system which includes a lighting system, a color digital camera (Canon Powershot G1X, Tokyo, Japan), and ImageJ software (version 1.49). ImageJ software is capable of processing the color image to LAB values. In food research, color is commonly depicted using the L* a* b* color space. L* value measures the level of black to white (0–100), a* red to green (+ = red and − = green), and b* yellow to blue (+ = yellow and − = blue). Sample images were captured, and then color measurements were computed within the L* a* b* color system [120]. Measurements were carried out in triplicate.

The recorded values of a* and b* were converted into chroma (C*) and hue (h◦) according to Eqs. (2) and (3), respectively. Chroma is the saturation of color that ranges from dull (low value) to vivid color (high value) and hue angle is known as a color wheel with red–purple at an angle of 0, yellow at 90, bluish-green at 180, and blue at 270 [104]. C* (chroma), hue angle, and BI (browning index) were calculated using AOAC [8] methods during storage. The values for the above were determined using the following equations [104]:

$$\mathrm{BI}=\frac{100(x-0.31)}{0.17}$$
(1)

where \(\mathrm{x}=\frac{a-1.75L}{5.645L+ a - 3.012\mathrm{b}}\)

$${C}^{*}=\sqrt{({a}^{*2}+ {b}^{*2})}$$
(2)
$${h}^{^\circ }={\mathrm{tan}}^{-1}\frac{{b}^{*}}{{a}^{*}}$$
(3)

Statistical analysis

In this study, the effects of chitosan concentrations (in 3 levels), and modified atmosphere packaging conditions (in 3 groups) were studied on the quality of fresh in-hull Badami's pistachio fruit for 45 days. The experiments were carried out in a completely randomized, factorial design with a confidence level of 95%. Each treatment was repeated three times. The data obtained for the samples were statistically analyzed using one-way analysis of variance (ANOVA). The statistical significance of differences between mean values was calculated at P < 0.05 with the Duncan’s New Multiple Range Test in the general model of the SPSS statistical package (IBM SPSS Statistics 22.0).

Results and discussion

Weight loss

The weight loss of fresh produce is an important parameter, since it contributes to economic losses [157]. The average weight loss of fresh pistachios at different chitosan coating concentrations, packaging types, and storage times at 5 °C is shown in Fig. 1. The type of treatment and storage time had significant effects on fresh pistachios’ weight loss (P < 0.05). As depicted in Fig. 1, the weight loss of pistachios increased during storage time for all conditions tested due to transpiration and respiration [153]. The highest weight loss at the end of storage time was recorded in uncoated treatment under AAC (20.68%) (Fig. 1). According to Fig. 1, chitosan coating decreased the weight loss values of pistachio fruits. Of course, this reduction was significant in ACC treatments (P < 0.05), but not significant in A-MAP and P-MAP treatments (P > 0.05). This observation also reported for orange [38], banana [145], apple [116], pear [167], sweet potatoes [158], carrot [115], strawberries and red raspberries [59], papaya [143], litchi [36, 142], and mango [27]. The lower weight loss values in chitosan-coated samples might be due to the gas diffusion barrier properties of stomata, the organelles which control the transpiration process and gas exchange between the fruit and the atmosphere [78, 103, 171]. In addition, the higher chitosan coating concentration potentially resulted in a higher thickness coating, further reducing weight loss as previously shown by some other researchers [4, 63].

Fig. 1
figure 1

Weight loss of fresh in-hull pistachios coated with different chitosan concentrations (0, 1, and 1.5% w/v) and stored in AAC, P-MAP, and A-MAP at 5 °C. Values represent the means of weight loss measurements in three replicate bags. Vertical bars represent standard errors. Different letters indicate a significant difference

According to our data, applying the MAP technique also reduced the weight loss of fresh pistachios during low temperature storage (Fig. 1). This observation is consistent with the study findings of other researchers on de‐hulled fresh pistachio nuts [137], fresh in-hull pistachio nuts [50, 136], unripe hazelnuts in husk [90], and green walnut fruit [83]. In fact, packaging film by producing a saturated atmosphere of moisture, minimized the difference in water vapor pressure between the fruit surrounding and the fruit itself, thereby preventing transpiration [20, 73, 134, 152]. Furthermore, MAP by lowering the oxygen level surrounding the fruit, decreased weight loss due to the decline of respiration rate [89]. For this reason, A-MAP performed better than P-MAP in reducing weight loss (Fig. 2). Actually, in the respiratory process, the commodity generates CO2, water, and heat. The produced water usually remains within the tissue, although some water accumulation was also observed in fresh pistachio packages due to respiration. In addition, CO2 escapes and accounts for part of the weight loss of harvested organs as a result of the mass balance between O2 intake and CO2 release [11]. This rate of carbon depletion is directly proportional to the respiration rate and is typically a minor part (3 to 5%) of the overall weight loss [19] except for cases where moisture loss rates are low. Heat generation within the tissue can contribute to additional loss of weight. This heat is dissipated by direct heat transfer to the environment and by water evaporation. The heat of respiration increases the temperature of tissue, which in turn creates a water vapor pressure deficit, thus increasing evaporation.

Fig. 2
figure 2

Carbon dioxide (closed symbols) and oxygen (open symbols) concentrations at the headspace of fresh in-hull pistachios packed in different modified atmospheres (P-MAP and A-MAP) and coated with different chitosan concentrations (circle: 0%, square: 1%, and triangle: 1.5% w/v) at 5 °C. Values represent the means of measurements in three replicate bags. Vertical bars represent standard errors

Our findings revealed that the reduction in weight loss of fresh pistachios during cold storage was more dramatically attributed to packaging type than chitosan coating (Fig. 1). In addition, as can be seen, 1.5% chitosan-coated treatment under A-MAP had the least weight loss (6.39%) at the end of storage time (Fig. 1); however, there was no significant difference between 1% and 1.5% chitosan-coated treatments under A-MAP and P-MAP conditions (P > 0.05). It was concluded that chitosan coating in accompaniment with MAP is an effective method for managing weight loss in fresh pistachios due to their synergistic effect. This is in accordance with the research results of combining the coating and MAP technique for reducing weight loss in cucumber [88], button mushroom [69], eggplant [51], pear [167], and litchi [33]. In addition, it was found that weight losses greater than 8% considerably diminished the postharvest quality of fresh pistachios. Indeed, packaged fruits did not exhibit extreme symptoms of shriveling relative to non-packaged fruits, suggesting that the packaged fruits maintained freshness during storage. According to Kays [76], water loss of more than 4–6% leads to noticeable wilting or wrinkling of the surface of most commodities.

Headspace gas composition

The O2 and CO2 gas composition inside the packaging were investigated for 45 days. In this study, a sharp drop in O2 and a rise in CO2 concentrations were found in headspace gas composition of both the coated and uncoated fresh pistachios under P-MAP and A-MAP during storage at 5 °C (Fig. 2). Significant differences were also found in O2 and CO2 concentrations between all treatments during storage (P < 0.05).

The oxygen consumption and carbon dioxide production of fresh products creates a modified atmosphere in the packaging system, which is directly related to tissue respiration and the properties of packaging material. After an interaction between the respiration and gas exchanges in and out of the bags, these gases gradually reached equilibrium at about 97, 118 and 137 h for P-MAP treatments (0, 1, and 1.5% chitosan coated, respectively), and 68, 90 and 111 h for A-MAP treatments (0, 1 and, 1.5% chitosan coated, respectively) (Fig. 2). The O2 and CO2 levels of P-MAP treatments were maintained at 3.2–7.3% and 9–10.1%, respectively, which were considerably higher than those of A-MAP treatments (1.5–3.6% and 4.3–5.5%, respectively). These findings indicated that P-MAP treatments had higher respiration rates than those of A-MAP treatments during storage. Similar results were also published for de-hulled fresh pistachios [138], fresh in-hull walnut [44, 83, 160], cluster bean [156], cucumber [89], sweet cherry [164], table grapes [58], mango [118], and potato [14]. According to our data, chitosan-coated treatments showed higher O2 compositions inside the packaging than did stand-alone MAP treatments, indicating decreased respiration rates (Fig. 2). Chitosan-coated table grapes [123], Thompson and Autumn seedless grapes [125] also showed reduction in respiration rates. Chitosan coating reduced fruit respiration rate possibly by modifying the endogenous O2 and CO2 levels due to its semi-permeable filmogenic property [143] and/or good oxygen barrier property [106]. The modification of endogenous O2 and CO2 levels was shown in chitosan-coated papaya [4, 142], and citrus fruit [9]. In this study, off-flavor and off-odor were only developed in uncoated treatment under A-MAP when the concentration of O2 reached a value of 1.5% on day 15 (Fig. 2). However, the combination treatment of A-MAP and chitosan coating had an inhibitory effect on anaerobic conditions, as also observed previously by Waghmare and Annapure [157]. According our data, the optimum O2 and CO2 concentrations were created in 1.5% chitosan-coated treatment under A-MAP (Fig. 2). It could be concluded that the combination treatment is more useful in slowing down the respiration rate of fresh in-hull pistachios. The reduced respiration rate might be correlated with a delayed senescence and a decreased susceptibility to decay [124]. Other researchers have also shown that O2 and CO2 concentrations in the packages of lotus root [168], litchi [33], and cucumber [88] were greatly influenced by chitosan coating and MAP treatment, which are two primary factors in stabilization of the respiratory drift [112].

Firmness

Texture is a critical factor in the quality of fruits and represents metabolic changes and water content variations and is directly related to increase the storability potential and the resistance to mechanical injury and decay [122]. The firmness of freshly harvested kernels was about 38.2 N, which diminished with storage time and was significantly affected by the packaging conditions tested and the chitosan coating applications (P < 0.05) (Fig. 3).

Fig. 3
figure 3

Firmness of fresh in-hull pistachios coated with different chitosan concentrations (0, 1, and 1.5% w/v) and stored in AAC, P-MAP, and A-MAP at 5 °C. Values represent the means of firmness measurements in three replicate bags. Vertical bars represent standard errors. Different letters indicate a significant difference

According to Fig. 3, chitosan coating had a beneficial effect on fruit firmness, such that all chitosan-coated treatments resulted in fruits with higher kernel firmness than that of uncoated fruits at the end of storage time. Indeed, chitosan-coated treatments maintained the initial kernel firmness better than uncoated samples. In addition, significant differences were observed between 1 and 1.5% chitosan-coated treatments, and higher values for kernel firmness being found in samples coated with 1.5% chitosan during storage (Fig. 3). Actually, the reduced transpiration and improved water retention provided turgor to the fruit cells after applying the chitosan coating. Another reason for delaying softening might be the decrease in respiration rates of chitosan-coated fruits [99]. The beneficial effect of chitosan coating on firmness has also been reported for citrus fruit [9, 23, 26], strawberry [63], apple [116], avocado [17, 150], mushroom [70], papaya [4], cucumber [88], cantaloupe [93], red bell peppers [114], and grapes [128].

According to our findings, MAP also had a major effect on pistachio fruit firmness (Fig. 3). MAP-stored pistachios maintained their initial firmness better than those stored in AAC, in agreement with Zagory and Kader [172]. Inconsistently, uncoated treatment under A-MAP had the lowest firmness at the end of storage time (Fig. 3). It might be related to extensive fermentation leading to tissue decay and softening. A number of studies reported the inhibitory effect of MAP on the activities of cell wall degradation-related enzymes [34, 129]. In addition, humidity around the fruit under MAP affected weight loss and consequently fruit firmness [75]. It must be noted that the lower firmness reduction in A-MAP than P-MAP treatments could be attributed to the lower respiration rates. The effect of MAP conditions to limit firmness loss has been reported for many fruits, such as de‐hulled fresh pistachios [137], fresh in-hull walnut [160], fresh hazelnuts [102], litchi [33, 141], table grapes [92], cucumber [89], and papaya [54].

In our study, the least change in firmness was observed in 1.5% chitosan-coated treatment under A-MAP on day 45 (Fig. 3), probably due to the synergistic effect of MAP and coating. For comparison, uncoated treatment under AAC required 27.9 N to penetrate whereas 1.5% chitosan-coated treatment under A-MAP required 33.83 N on the 45th day of storage. Therefore, chitosan coating combined with MAP helped to preserve the firmness of fresh pistachios in the best possible way. The coating and MAP combination has also retained the firmness of button mushrooms [69], eggplant [51], carrot [155], and pears [167].

Peroxide value

Oxidative degradation is a major economic problem for the food industry in general and the nut industry in particular. Oxidative rancidity in nuts not only impairs their sensory quality and contributes to nutritional depletion, but can also lead to health issues as a number of lipid oxidation products are toxic both in vitro and in vivo [74]. Since more than 89% of pistachio fatty acids are unsaturated [95], oxidation in pistachios needs to be continuously monitored.

In our research, the oxidation of pistachio kernels was measured by calculating the peroxide value (PV) which represents the primary oxidation products for evaluating the kernel quality. As can be seen in Fig. 4, packaging conditions, coating concentrations and storage time, in most cases, had significant effects on PV (P < 0.05). In this study, the initial PV of kernel oil was as low as 0.15 meq O2 kg−1 oil which increased with storage time (Fig. 4). After the 45-day storage, the PV reached to 1.92, 1.41, and 1.06 meq O2 kg−1 oil for uncoated samples stored in AAC, P-MAP, and A-MAP conditions, respectively (Fig. 4). Geng et al. also reported that PV of three kinds of fresh walnuts increased steadily during refrigeration [49]. As can be seen, the PV of uncoated MAP treatments was lower than that of uncoated treatment under AAC during storage, and A-MAP treatment did better than P-MAP treatment in this regard (Fig. 4) (P < 0.05). [162] also reported that active-modified atmosphere packaging effectively prevented the rise in PV for walnut kernel oil during 120-day storage. Some other researchers also stated that the presence of higher levels of oxygen in packaging atmosphere of fresh raw pistachios [108], walnut [170, 174], almond [48, 98, 109], and hazelnuts [52] increased the peroxide value. The inhibiting effect of MAP on PV increase could be due to the high phenol content and antioxidant activity under MAP conditions, which in turn could minimize the decay of fruit [160].

Fig. 4
figure 4

Acid and peroxide values of fresh in-hull pistachios coated with different chitosan concentrations (0, 1, and 1.5% w/v) and stored in AAC, P-MAP, and A-MAP at 5 °C. Values represent the means of measurements in three replicate bags. Vertical bars represent standard errors. Different letters indicate a significant difference

According to Fig. 4, the higher peroxide values were always related to the chitosan-free treatments during storage time. In addition, 1.5% chitosan-coated treatments better prevented the increase in PV than did those coated with 1% chitosan. In fact, chitosan coating traps free radicals from the initial oxidation reactions and inhibits the development of these reactions. Chitosan also decreases the oxidative reactions rate by trapping metal ions. Furthermore, chitosan coating on kernels acts as a barrier and inhibits the entry of oxygen and peroxidants [146]. Sabaghi et al., Vanaei et al. and Maghsoudlou, and Maghsoudlou also indicated that chitosan coating prevented the PV increase in nuts [85, 126, 154].

In our study, the lowest PV was found in 1.5% chitosan-coated treatment under A-MAP (0.91 meq O2 kg−1 oil) at the end of storage time. As a result, the combination of chitosan coating and MAP demonstrated an additive inhibiting effect on the increase of PV. The Australian Macadamia Society indicates a maximum PV of 5.0 meq O2 kg−1 oil for raw and roasted kernels, while The Southern African Macadamia Growers’ Association recommends a maximum PV value of 3.0 meq O2 kg−1 oil [96]. In addition, according to established criteria, a PV greater than 1.0 meq O2 kg−1 oil is correlated with the onset of oxidative rancidity [46, 163]. Since high peroxide values can result in acute and long-term adverse health effects [57], the low levels of PV observed in our study indicate that they were not major health issues.

Acid value

Acid value (AV) reflects the amount of free fatty acids in pistachios kernel oil. The increase in AV during storage is attributed to the enzymatic lipid hydrolysis by lipase which separates fatty acids from lipid substrate and creates free fatty acids. Free fatty acids may negatively affect the flavor; they can also be exposed to lipid oxidation reactions [79]. In our study, the initial AV of kernel oils was 0.13 g oleic acid/100 g oil which was significantly influenced by storage time, packaging conditions tested and chitosan coating concentrations (P < 0.05). As can be seen in Fig. 4, the initial AV increased to 1.63, 0.91, and 1.02 g oleic acid/100 g oil for uncoated samples stored in AAC, P-MAP, and A-MAP conditions after 45-day storage, respectively. These values revealed that MAP condition had a relative inhibitory effect on the rise in AV. In addition, uncoated treatment under P-MAP inhibited the increase of AV in pistachio oil better than uncoated treatment under A-MAP, possibly due to the decreased tissue firmness created by anaerobic respiratory conditions in uncoated treatment under A-MAP which enhanced the exposure of lipase and lipid substrate. The inhibitory effect of MAP on AV has also been reported for fresh pistachios [108], walnut [24, 44, 84, 159, 160, 162, 166, 170, 174], hazelnut [52, 97], Torreya grandis nut [144], and wild almond [109]. According to our data, chitosan coating also prevented the increase of AV in kernel oils; and those samples coated with higher concentration of chitosan (1.5%) performed better in controlling AV increase (Fig. 4). In fact, chitosan coating slowed down the decay of inner kernels by maintaining the quality of the hull; thus, it preserved the oil in kernels from rancidity [161]. As can be seen in Fig. 4, the lowest AV was shown in 1.5% chitosan-coated treatment under A-MAP on the 45th day of storage (0.49 g oleic acid/100 g oil), proving that chitosan coating combined with MAP was more effective in preserving pistachios kernel oil quality. It has been mentioned in many references that the maximum permissible level of AV is 5 g oleic acid/100 g oil [13, 40, 94, 101]. As the AV levels in our study did not surpass this value, all fresh pistachio treatments were acceptable in terms of AV.

Mold and yeast growth

While mycotoxin contamination has long been a safety problem for the nut industry, microbial food safety has recently received some attention. Since 2000, several high profile food borne outbreaks and recalls have included contaminated nuts and nut products [60]. In the case of fresh pistachios, fruits with damaged hulls or inadequate protection by hulls are most susceptible to microbial contamination. Sometimes the hull is attached to the shell and both split together. This rupture of the hull, referred to as ‘early splitting’, exposes the kernel to microbial contamination. The proportion of early split pistachio nuts is normally 1–5%, but in some situations, it may be as high as 30% [130].

The counts of mold and yeast throughout the cold storage of pistachio fruit treatments are shown in Fig. 5. At harvest, pistachio fruits had 1.4 log CFU g−1 mold and yeast count which increased with increasing storage time. As can be seen, uncoated treatments under MAP retarded the mold and yeast growth compared to uncoated treatment under AAC during storage; but A-MAP treatment performed better than P-MAP treatment in reducing the growth (P < 0.05) (Fig. 5). Similarly, MAP reported to control microbial growth in fresh pistachios [108, 136, 137] and Brazil nuts [133]. The decreased decay occurrence in MAP treatments is due to the ability of low O2 and/or high CO2 levels to deter microbial decay [29]. The bacteriostatic effect of CO2 is not well known, a plausible mechanism is by decreasing the availability of O2, and the ability of CO2 to acidify and reduce pH [30]. It is also claimed that CO2 has a direct antimicrobial effect resulting in an increased lag phase and generation time during the logarithmic growth phase of the microorganisms involved [113], with inhibition being dependent on the concentration of gas and temperature.

Fig. 5
figure 5

Mold and yeast counts of fresh in-hull pistachios coated with different chitosan concentrations (0, 1, and 1.5% w/v) and stored in AAC, P-MAP, and A-MAP at 5 °C. Values represent the means of measurements in three replicate bags. Vertical bars represent standard errors

Based on our data, chitosan coating also tend to reduce the growth of mold and yeast in fresh pistachios during the cold storage (Fig. 5). The mold and yeast growth inhibition significantly enhanced by increasing chitosan concentration (P < 0.05). As is clear from the results, the effect of chitosan coating on the reduction of mold and yeast growth was more prominent than that of MAP condition (Fig. 5). Similarly, Sabaghi et al., Maghsoudlou et al., Hernandez-Munoz et al. Reddy et al., and Romanazi et al. reported that chitosan coating decreased mold and yeast growth on fresh walnut kernel, dried pistachios, strawberry, grapes, and tomato, respectively [63, 86, 119, 124, 126]. The inhibitory effect of chitosan on microbial growth is due to the positive charge of chitosan [62, 81], metal chelating, binding with DNA [117], and oxygen barrier properties of the coating [131]. Chitosan is also known to influence the morphogenesis of cell wall interfering directly on the activities of enzymes responsible for fungal growth [39]. Chitosan has been found to be more effective in inhibiting spore germination and germ tube elongation than mycelia growth [127, 151]. The membrane disruptive properties of chitosan have also been demonstrated by Galván Márquez et al. on yeasts [91]. It has been shown that chitosan induces fruit defense responses [175]. However, other antifungal edible coatings have also been developed by Sayanjali et al. and Hashemi and Raeise for fresh pistachios and wild almond, respectively [61, 131].

According to Fig. 5, uncoated treatment under AAC showed the highest mold and yeast count after 45 days of cold storage (6.9 log CFU g−1), while 1.5% chitosan-coated treatment under A-MAP showed the lowest (1.5 log CFU g−1). Jacxsens, Devlieghere, and Debereve stated that the critical limit for mold and yeast in fruits is 105 CFU/g [68]. Our results proved that the mold and yeast growth of fresh pistachio treatments during storage, from the lowest to the highest, was in this order: chitosan-coated treatments under MAP conditions < stand-alone chitosan treatments < stand-alone MAP treatments < uncoated treatment under AAC (Fig. 5). Simões et al. and Campaniello et al. also reported that the combination of edible coatings containing chitosan and modified atmospheres preserved the microbial quality of carrot sticks and sliced strawberries, respectively [21, 140]. Moreover, as microbial growth might be responsible for some extension of softening process, the combined inhibitory effect of chitosan and MAP could also account for much decreased softening found in MAP packages treated with chitosan in this study.

Aflatoxin production

The aflatoxins are a group of toxic and carcinogenic polyketide secondary metabolites, which are generated by the strains of Aspergillus flavus, Aspergillus parasiticus, Aspergillus nomius, and Aspergillus pseudotamarii [67]. The key factor threatening pistachios exports is aflatoxin production by molds [3]. The hull, as the outermost layer of pistachio fruit, is covered with a cuticle that creates a defensive barrier against pathogen invasion. Wound pathogens, such as A. flavus, have no ability to penetrate the cuticular layer. They make entrance into the host plant by cuticle breaks caused by abrasions or insects [110].

The aflatoxin B1 production results of all treatments during cold storage are tabulated in Table 1. A low standard deviation was obtained between replicates, demonstrating the good reproducibility achieved. According to Table 1, the varying levels of aflatoxin B1 were only detected in uncoated treatments during storage. It should be noted that the production of aflatoxins B2, G1, and G2 has not been detected for all treatments throughout the storage. As can be seen in Table 1, aflatoxin B1 production of fresh pistachios increased with increasing storage time. But, applying the MAP technique significantly reduced it (P < 0.05). This reduction was more noticeable for A-MAP than P-MAP treatment after 45 days of storage. It could be attributed to the reduced oxygen level in A-MAP than P-MAP treatment, because oxygen is essential for the production of aflatoxin in aflatoxigenic fungi [111]. Other researchers have also declared that aflatoxin production is an aerobic process that may be inhibited at low O2 concentrations or blocked at high CO2 levels [53, 147, 148]. Similar to our findings, MAP has been documented to minimize aflatoxin B1 levels in pistachios [72], peanut [107, 159, 162], and Brazil nuts [133].

Table 1 The hull color parameters and Aflatoxin B1 production of fresh in-hull pistachios coated with different chitosan concentrations (0, 1, and 1.5% w/v) and stored in AAC, P-MAP, and A-MAP at 5 °C. Values represent the means of color measurements in three replicate bags.

Based on our results, chitosan coating appeared to be more effective in reducing aflatoxin B1 production than MAP during storage, because aflatoxin B1 levels of all coated treatments even those under AAC were lower than the device detection limit (Table 1). Chitosan’s inhibitory effect on aflatoxin production is possibly attributed to its ability to chelate metals (such as zinc, magnesium, iron, and molybdenum) and also activating defense mechanisms through inducing phenolic compounds production. Most inhibitors act on the biosynthesis of aflatoxin either by altering the fungal physiological environment, by disrupting the signal transduction and genetic expression regulation, or by blocking the activity of compounds or enzymes needed by the fungus [64]. Chitosan has also been shown to inhibit the aflatoxin production of A. parasiticus and A. flavus in peanut [41]. Several researchers reported other coatings and packaging to prevent aflatoxin production in peanut, Brazil nut, cashew, walnut, almond, hazelnut, and pistachio nut [65, 82, 132, 149].

According to our data, the highest and lowest detected levels of aflatoxin B1 were found in uncoated treatment under AAC (0.63 ± 0.12 ppb) and uncoated treatment under A-MAP (0.19 ± 0.08 ppb) on the 45th day of storage, respectively. The perception that mycotoxins may have serious effects on humans and animals has prompted many countries in recent decades to establish maximum tolerated level on mycotoxins in foodstuffs and feedstuffs to protect the humans health, as well as the economical interests of producers and traders. Currently, the global range of limitations for aflatoxin B1 is 1–20 ng/g [43]. The U.S. Food and Drug Administration also set threshold levels for total aflatoxins in pistachio nuts at 20 µg/kg [2]. The allowed maximum legal limits for pistachio nuts are 4 µg/kg for total aflatoxin and 2 µg/kg for aflatoxin B1 in European Union [135]. Thus, aflatoxin B1 levels in our study were all below the level which is recommended as safe (Table 1).

Hull color evaluation

The hull color is known to be a primary factor in the determination of overall pistachio fruit quality. If it is not attractive, a potential consumer would never experience the other main attributes such as taste, texture, and odor. Changes in the hull color of harvested ripe pistachio fruits occur gradually during storage. Table 1 summarizes the changes in-hull color properties of fresh pistachios under various conditions during the storage time. The evaluation of hull color revealed that, all the samples showed decreasing L* values during storage (Table 1). Our results indicated that coating treatments impart significant changes in the hull lightness of fruits. Uncoated samples were significantly darker than coated samples throughout the storage period (P < 0.05). In addition, the chitosan concentration of coating resulted in significant differences in L* values. According to Table 1, there was an increase in a* values of fruit hulls during 45-day storage for all treatments. This rise in redness was possibly attributed to the promotion of enzymatic processes responsible for a decline in the quality of fruits, which included in browning and other reactions [27]. It is necessary to mention that, coated samples obtained lower a* values than uncoated samples, but the differences were not statistically significant (P > 0.05). The results also revealed that the use of chitosan coating provided the samples with significantly lower b* values than those of uncoated samples during storage (P < 0.05). It is worth expressing that there was an increase in C* values during storage time and the values were significantly higher for uncoated than coated fruits (P < 0.05). The h˚ values of fruit hulls did not change significantly during storage time for all treatments (P > 0.05). Although the BI values of fruit hulls increased in all treatments during storage, chitosan coating significantly controlled the upward trend (P < 0.05). As shown in Table 1, chitosan’s ability to reduce the darkening of hull was enhanced by increasing chitosan coating concentration. The highest BI value occurred in uncoated treatment under AAC on day 45, as it was predictable by its lowest L* value (Table 1). Pistachio hull darkening during storage is related to browning reactions due to the oxidation of phenols [100] which are abundant in the hull [47]. The control of moisture loss by chitosan coating and its ability to act as oxygen barrier, essential for the occurrence of browning reactions, contribute to reduce external color changes in fresh pistachio hull. Hernandez-Munoz et al. also observed that strawberries coated with 1.5% chitosan showed lower weight loss and decreased darkening than did those treated with 1% chitosan [63]. Chitosan coating also helped to postpone the fruit color change of litchi [33, 71], papaya [55], sweet potatoes [158], mushrooms [37], orange [23], cantaloupe [25], bell pepper [5], and guavas [32].

According to our data, packaging both coated and uncoated pistachio fruits under MAP significantly improved the hull color quality of fresh pistachio as compared to AAC (P < 0.05). However, A-MAP was more effective than P-MAP in controlling the deterioration of hull color parameters (Table 1). In other words, those samples under A-MAP (excluding uncoated treatment which experienced anaerobic respiration), revealed higher L* but lower a*, b*, C*, and BI values than those of P-MAP samples on the 45th day of storage. We assume that the high BI value in uncoated treatment under A-MAP was attributed to an increase in the activity of polyphenol oxidase because of the stress caused by high levels of carbon dioxide [22, 56, 102]. Amanatidou et al. also confirmed that surface browning in fresh-cut carrots could occur under low levels of O2 in MAP during storage [6]. Some other researchers have reported similar results for maintaining the desired color under MAP conditions for pistachio fruits [108, 136, 138], walnut [28], and peanuts kernels [107]. Our results revealed that 1.5% chitosan-coated treatment under A-MAP showed the highest L* but the lowest a*, b*, C*, and BI values on the 45th day of storage (Table 1), demonstrating the best retention of pistachio hull's initial red/purple color. The changes of C*, h0, and BI at day 45 of storage compared to day 0 were 41.09%, 1.38%, and 120.70%. In conclusion, the integrated treatment of chitosan and MAP showed a synergistic effect on the inhibition of pistachio hull discoloration and it was the most effective way to inhibit fresh pistachio’s surface browning. These findings are consistent with those of other researchers who studied the ability of edible coatings in combination with MAP to prevent the browning of eggplants [51], button mushrooms [69], and lotus root [168].

Conclusion

The inappropriate packaging and storage conditions impair the quality and act as obstacles for the exports. For the first time, the combined effects of MAP (A-MAP and P-MAP) and chitosan coating on the shelf life of fresh in-hull pistachio fruits during cold storage were examined. All treatments delayed weight loss, mold and yeast growth, aflatoxin B1 production, firmness loss, hull color changes, peroxide and acid values compared to uncoated treatment under ambient atmospheric condition (AAC). Taking into account the overall findings achieved, the most recommended treatment for preserving the postharvest quality and safety of the fresh in-hull pistachio fruits was found to be 1.5% chitosan-coated treatment under A-MAP (10% O2 and 90% N2). As fresh pistachio fruit is one of the most popular agricultural products, this accomplishment is of considerable practical importance for producers seeking to export the product to other countries and consumers who like consuming fresh in-hull pistachios with no lack of quality.