replaced dom wrapper