pre release clean up