Bugfix: set prune flag