Remove redundant console.log statement