(array to list conversion bugfix)