fixes in prune
fixes in prune