Deleted some unnecessary console logs and unused codes