Transform clear and bug fixes.