Removed console.logs, issue resolved