fixed changes to loop and partitioner that broke examples