Cleanup the solution