fixing environment inferment bug