API bug with limit/offset