prevent NRE