change wrong logic of supported path
Merge pull request #397 from ruijunhuang2010/master

change wrong logic of supported path