Fix a type induced bug
Remove a line of console.log