minor fix to console.log