fixed NR evnvironment variable