fix list module structure cannot use foldLeft