fixed subform issues - automatic passing of parent id