fixing environment