fix bug when handling none-fixed env params.