analyse local storage bugs fixed.