tidy some console.log calls