quickfix: convert array to python list