Fixing line offsets