fixed bug of multiple repopulation of list