Remove some nested divs in input elements