debloating pathfinder + fixing bugs