fixed a bug where the back button of the submit frame did not work