fix for hDOM