trying to fix localstorage