add duration to events and some redirct fixes