Removed console.log's
Fixed a typo