Fix broken env variables