cleaning up in local_storage adapter