fixed date bug on home page