fix bugs with todo amount and remove todo by date