removed console.log() errors