loopspace cleanup