updated convert_name
updated scatter_vars