fixes time-based event on homepage