fix unsetting transform when not present