Fixed broken load when local storage is empty