Removing bad console.log