remove ending from todolist