shutdown fix