is the API doing something wrong?