some API errors in documentation