wakeup fix
Merge pull request #12 from facebook/wakeup_fix

wakeup fix