small changes to events controller