Fix multiple submit events