fix chooseVal over resultsCounts