fixed casting date