rename wakeup to wake, bugfix in linux version