change allinfo to parents to make the db functional