fix env overriding