add check on duplicated argument name