replace nf to nrformats