initial view bug fixes, when localstorage not present