fixed flyer loop bug