[fix] Map would return output from console.log