fix form submit slow bug