fixing API documentation