improved loading NRD file