Fix some issues.
Remove console.log