remove unnecessary transformer