fixed datepopup for date