fix view event edit