remove redundant console.log statements