Fix error on extend options in cusomSubmit() method