fix dev env variable assignment bug