Fix issue with connect event listener
update package.json