fix bug with cropbox&datepicker