dumb hack to get the environment lookup to work