fixing forms bug