bugfix offsets
Merge pull request #25 from joergwin/master

bugfix offsets