fixed compilation issue in transformer utilities