Fixed terminate.