stoped adding event listener (accidentally) in for loop