fix output path for datepicker