more fixes, so many API endpoints