fixed prune on loops