Remove redundant console.log