more robust
Merge branch 'master' of https://github.com/linkerlin/finalseg