fixed the api ranme