fixed offset problem with pivots