fixed event fires twice