Remove errant console.error calls