Fixed the clear local storage bug