now methdos depends on browser, localstorage fix and some other things