fix bin/cmd.js output