enable console.log of map