fix env param propagation