fix target date attribute