improve div struct