fixed prune to work