[#301] properly fixed the `clearInterval` and `clearTimeou` functions