fix env. variable treat