fixed some api shiz