Fixes offsets