change format_cmd