patched date issues