fix bug - formValue state not updating