fixed it. these word <-> byte offset conversions are bug city