fixed the parestree