remove some unnessecary dom nesting