Made some problem attacking into an api.