removed the form before submission