minor fix on cleanTransformation method (order of execution of deletes
methods)