localStorage support. structure cleaning