Bug fix: routine should be evaluated in new Env