loop unwind fixed