Fixed bug when the node repeat time is 1