fix bugs in todo hours