fixed multiple forms bug