removed set metods in onSubmit