accommodate to the change in AffineLib