check for duplicate argument names