fixed bug in list module for localstorage