date workaround