Add one sanity check to transformation