fixed bug datepicker