Fix potential NRE.