fixed yet another bug. Fixed how the callback was called, feeding correct arguments in the error case.