fixing NRE