Fixed invalid submission handler.