Fixed SOD (last commit wakeup functions not work correctly)