fix params_to_text
in progress