fix the bug on mulitple ports
Merge branch 'master' of github.com:wsxiaozhang/ProjectND