clean up dom