fix form submit issue