fix bug with retrying folder listing