fix api endpoints