Cleaning up solutions