little cleanup before final step