fixed API documentation