Fix callback parameter, more console logging