fixed the bug: that todo add will create a todo even if there is no data