Fixed nyfr and nifr plotting bug