Transform bug fix