fix pi endpoints