fixed memory leak, final submission