fixing export var for nano to work