remove stock loops