fixes bug with children on index page
a
refactors event view to use model correctly