fix solution selecting