Removed the console.log call added my mistake.