fixed: date element not saving data