fix input name

fixed input names to correctly behave when selected