fixed error w/ ref to group in schema