Bugfix

Fixed an error when loading, if the localstorage cache is not previously set.