some stupid helpers (date/arg checker)