fixed environmental variables expect