fix overlap bug
Merge pull request #3 from sreimers/master

fix overlap bug