Fix transformValue.