fix submit event