fix bug with determining irep pool string length