transform cleanup