fix to address chrome only issue with local storage