Fix callback error, remove console.logs