remove mktmpenv call (it's a function)