fixed the dateTimeController + minor fixes