Forgot to re-initialize variables after wakeup