clean old stack images before making a new one