Remove unnecessary console.log() call