fixing clearInterval