stats nested loop fix w/ removal of break statement

all stats working, now in a non-hacky way