Fix event edit