Fix missing environment