for some reason event are all getting triggered no matter what