fix typo in max_dt