Revert "loop unwind fixed"

This reverts commit d1dc393e8655b194c9d6432673f7d208c3c30d0f.
Revert "Revert "loop unwind fixed""

This reverts commit 02dd94f2525c718c972a8c77a7074f59b1cf2ec0.
this should be right...forgive me