fixing usage of localStorageModule