fix for setenv bogus var argument handling