change clearStorage method