cleaning for release