tracking down localStorage issue