Fixed an unexpected crash b/c we didn't set events params correctly