clean for next iteration