change finsihed to shut down