removed old code and comma
bugfix multiple custom events
added comment for previouse bugfix