fix Array[long] to List[Long]