Fix offsets.