fix transform_params
adapt char/string/lit