fix except issue
Merge pull request #226 from bebef1987/master

fix except issue