fix bug initialize for wake up interval