Fixed an small date bug