removed unnecessary check weather form is valid