Merge pull request #6 from dparalen/master

fix no devices case