date handling bugfix; retry wakeup