fix backend checking
Merge pull request #3 from lgatto/master

fix backend checking