Fix clearInterval timer