fix problem with datepicker sammy