Fixing hDOM