fix cli.js exception & remove log