attempted fix to chrome local storage bug