fixed `--env` args missing bug