fixed bootstrap datepicker errors