fix table_name cleaning