fix env.t minor stuff breaking