Fix Datepicker in 4.2 version