use console.error since log is redefined