infinite loop bug squashed, capture finished