fixed datetimepicker but still needs work