cleanup variable naming for trim command