object event listener fix