bugfix offsets