pre-release cleanup