fix callbacks with null-reason fields