minor clean up of pointer offsets