fix dom build