replace use of div in input