fixing td -> dt