fix discrepancy between the doc and the naming of the arguments