fixed bugs in todo templates