clear interval in cycle + rebuild