fixing typo in argument list definition and in API definition