fix solution count