fixed the logic to get candidates
Merge pull request #12 from pekepeke/uniteSourceFix

fixed the unite source