get rid of dom module