removed some messages and added pdb