Fixed a bug where this variable incorrect points to global in submitHandler