fix broken dom