modify console.write format