fix odi endpoint