wakeup cleanup