fixed APi call witht the new version