fix dt bug in test_runtime