commented out manual pdb output - causing problem?