fixed caching sites from local storage