Fix event migration