fixed timepicker bug.