avoid console.log errors