issue #216 ensure input names are unique