fix bug wakeup interval is not double value