fixed problem with multiple forms on the same page