Fix error with callback.