Restore form submit hook.
 avoid duplicate error of db table