cleanup and prepared for release