Correcting PP API call