make mdht work