fix before-midnight typo