changed check for resverseTransormer