fix insgram api in client