fix problem of environment variable