fix the time showing issue on home page