get rid of env->i->ltm