fixed some api responses