restoring cleaning up