Fix submit event