date pattern fix