clean up the solutions