fixing buildList error