[fix] [minor] if localStorage quota exceeded, clear localStorage