Form clears automatically without submitt