fix api urls