cleaned up memory after run