cleanup and simplify stripper for loop