fixed addSelection
Merge pull request #12 from olivier-squid/master

fixed addSelection