Cleanup transformer check