replace divs with labels