fixing dom structure