environment missing bug