removed localstorage support