Fix loop option