fixing some shadow dom issues