Removed pdb debug code