problems doing retrieve buffer more than 10 times in a row