Draft: bugfix in offset - fixes #270