fix minor error in dird api