add datetimepicker
fix error