bugfix of event chaining