fix

Fixed loop issue. Results not tested.