Removed debugging, fix for pathfinder