delete some console.log that prevent script from functioning correctly