fixes toggle issue with no todos