fix offsets
Merge pull request #2 from tobiasandersson/master

fix offsets