Fix event conversion.