DOM correction