Clean up pathfinder