serparate core & cli
console.log fix