bugfix, event was not filled in ERROR mode.