fix shadow DOM usage