initial waketime bugfix