fixed some api paths