fix if datepicker has more than one class