fixed UI datepicker loading issue