Fixed environment callback