added some bugs to todos