new version for bugfix event handler config