fixing remote API