Fixed form submit issue