Fixed pop in prune issue