fix event view:new & edit