Make sure elements aren't doubly wrapped