bug fixed for firing event listener data