fix typo in midnight