correct loc from local storage