Some safety checks for NRE