Shutdown fix.