Fix passing variable as list.