Fixed: returning from loops.