Added an enhancement in transformFormattings