modify api calling repeated