accidental console.log in callback