Fix: override default submit function