fixed events page for editing