set path of the env command.
bug fixed