removing bad pdb code and changed log location