r789: we return wrong number of entries