correct rewrite of horizontal component offsets