bug fix in implode_quoted