fix event pages
some mekeup and time functions