Fixed stupid date bug