cleaning up, prepare to release