Fixed the events page, and an issue in the home page