fixing minor bugs and adding some methods for pingdom