fixed mistakes with form