fix dateblock