Last minute fix for transformVar