fix env variables in mock