removed ha dict in env, this is not needed