Fix submit callback