improve redir-cli security.