Fixed issues with dt.