fixed bug in itemlist.load