Fix select bug
Merge pull request #4 from Rudeg/master

Fix select bug