interval generator of next events bug fixed