fixed bug for datetimepicker by flp