fixed broken code in the library after changing list make to init