finish parse and free