Removing misleading console.log