fixing api initial calls