fixing the inital local storage visitit issues