override of submit button