fix shutdown timer