submit event bugfix