add magic console.log back