trying to fix inverse transform
matching is now being validated correctly