Fix offset and callback.