fixed another date bug