fixed display issue with datepicker